<script>


    function showSelectedMenu(){
        var menu = layui.data('memberLeft');
        if(menu){
            $(".memberLeft dt").each(function(index){
                if(menu.m_menu_left-2== index){
                    $(this).addClass("on");
                    $(this).siblings().removeClass("on");
                    $('.memberLeft dd').hide(0);
                    $(this).next("dd").show(0);
                }
            });
        }

    }

    $(function(){
            //会员中心菜单
        //会员中心菜单
        showSelectedMenu();
        //鐢ㄦ埛涓績宸﹁竟鑿滃崟 浼哥缉
        $('.memberLeft dt').click(function(){
            var index = $(this).index()/2+1;

            layui.data("memberLeft", {
                key: 'm_menu_left'
                ,value: index+1
            });
            $(this).addClass("on");
            $(this).siblings().removeClass("on");
            $('.memberLeft dd').hide(200);
            $(this).next("dd").show(200);
        });

        });
</script>

<div class="memberLeft">

    <dl>
        <dt id="leftNav1" class="on">我的账户</dt>
        <dd style="display:block;">
            <a href="${path}/member/">资金信息</a>
            <a href="${path}/member/account/log">收支明细</a>
            <a href="${path}/member/account/redpacket/list">我的红包</a>
            <a href="${path}/member/account/edit">银行账户</a>
            <#--<a href="${path}/member/account/go_recharge_offline">线下充值</a>-->
            <a href="${path}/member/account/go_recharge_online">线上充值</a>
            <a href="${path}/member/account/recharges">充值记录</a>
            <a href="${path}/member/account/gocash">用户提现</a>
            <a href="${path}/member/account/withdrawals">提现记录</a>

        </dd>
        <dt id="leftNav2">理财管理</dt>
        <dd>
            <a href="${path}/member/deal/duein">我的理财账单</a>
            <a href="${path}/member/deal/tender">我的投标记录</a>
            <a href="${path}/member/deal/bidding">等待满标的理财标</a>
            <a href="${path}/member/deal/collection">收款中的理财标</a>
            <a href="${path}/member/deal/success">已完成的理财标</a>

        </dd>
        <dt id="leftNav3">借款管理</dt>
        <dd>
            <a href="${path}/member/bid/stay">我的借款账单</a>
            <a  href="/member/bid/pretender">预告中的借款标</a>
            <a  href="/member/bid/bidding">筹款中的借款标</a>
            <a  href="/member/bid/forlending">待放款的借款标</a>
            <a  href="/member/bid/payment">还款中的借款标</a>
            <a  href="/member/bid/completed">已完成的借款标</a>
            <a  href="/member/bid/failed">失败的借款标</a>

        </dd>
        <#--<dt id="leftNav4">活期宝</dt>-->
        <#--<dd>-->
            <#--<a  href="${path}/member/current/index">活期宝</a>-->
            <#--<a  href="${path}/member/current/to/into">活期宝购买</a>-->
            <#--<a  href="${path}/member/current/to/out">活期宝撤购</a>-->

        <#--</dd>-->
        <dt id="leftNav5">认证中心</dt>
        <dd>
            <a  href="${path}/member/auth">实名认证</a>
            <a  href="${path}/member/auth/mobile">手机认证</a>
            <a  href="${path}/member/auth/email">邮箱认证</a>
            <a  href="${path}/member/auth/vip">VIP认证</a>

        </dd>
        <dt id="leftNav6">推广中心</dt>
        <dd>
            <a  href="${path}/member/promotion/link">我的推广</a>


        </dd>
        <dt id="leftNav7">安全中心</dt>
        <dd>
            <a  href="${path}/member/ucenter/safe">修改登陆密码</a>
            <a  href="${path}/member/ucenter/deal">修改交易密码</a>
        </dd>


    </dl>
</div>